package com.xiaohong.websocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import javax.websocket.server.ServerEndpoint;

/**
 * @author : xiaohong
 * @date : 2021/4/13 20:08
 */

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)  //排除掉数据库自动加载，因为这里不需要使用数据库
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.xiaohong.mq.feign","com.xiaohong.user.feign"})
public class WebSocketApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebSocketApplication.class,args);
    }
}
